﻿using System;
using System.Web;

namespace NBlog.Web.Application.Infrastructure
{
    public class ImageHandler : IHttpHandler
    {
        public void ProcessRequest(HttpContext context)
        {
            //context.Response.Cache.SetCacheability(HttpCacheability.Public);
            context.Response.Cache.SetMaxAge(TimeSpan.FromDays(10));
        }

        public bool IsReusable { get; private set; }
    }
}